<template include="./plugin/xxx_theme_flarum/view/htm/user_thread.template.htm">
    <slot name="user_body">
        <ul class="DiscussionList-discussions threadlist">
            <?php include _include(APP_PATH.'view/htm/thread_list.inc.htm'); ?>
        </ul>

        <?php if($pagination) { ?>
        <nav><ul class="pagination justify-content-center"><?php echo $pagination; ?></ul></nav>
        <?php } ?>
    </slot>
</template>

<script>
$('li[data-active="user-thread"]').addClass('active');
</script>